package com.dao.admin;


import com.bean.bo.orders.ChangeStateBO;
import com.bean.bo.orders.ShowAllBO;
import com.bean.pojo.Space;
import com.bean.pojo.User;
import com.bean.vo.Order.ListObjInOrderVO;
import com.bean.vo.Order.UpdateOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderMapper {
    int deleteOrderById(Integer id);
    Space selectById(Integer id);
    List<ListObjInOrderVO >selectListObjInOrderVOLimit5(ShowAllBO showAllBO);
    int selectCountFromOrders(ShowAllBO showAllBO);
    UpdateOrderVO selectUpdateOrderVOById(Integer id);
    int selectSpecIdNowByOrderId(Integer id);
    int updateStateByChangeStateBO(ChangeStateBO changeStateBO);
    int updateTime(ChangeStateBO changeStateBO);
//    List<ListObjInOrderVO >searchListObjInOrderVOLimit5();

}
